<template>
	<!-- 复用性卡片组件 -->
	<view class="card">
		<!-- 标题 -->
		<view class="title">订单号:1546848465186461561864</view>
		<view class="contentline">
			<view class="left">
				<image src="../../static/icons/bgimg.png" mode=""></image>
			</view>
			<view class="right">
				<!-- 单行提示文字 -->
				<view class="tipfirst">订单号订单号订单号订单号订单号</view>
				<!-- 左右布局提示文字 -->
				<view class="tipsecond">
					<view>订单号订单号</view>
					<view>订单号订单号</view>
				</view>
				<!-- 简述内容提示文字，带省略号 -->
				<view class="tipcontent">订单号订单号订单号订单号订单号订单号订单号订单号订单号订单号
				订单号订单号订单号订单号订单号订单号订单号订单号订单号订单号订单号订单号订单号订单号订单号</view>
				<!-- 按钮事件 -->
				<view class="btns">
					<view>点击详情</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
</script>

<style lang="scss" scoped>
	.card{
		width: 100%;
		height: auto;
		padding: 30rpx;
		box-sizing: border-box;
		background-color: #ffffff;
		box-shadow: 0rpx 1rpx 22rpx 5rpx 
			rgba(119, 118, 118, 0.1);
		border-radius: 20rpx;
		.title{
			width: 100%;
			font-size: 26rpx;
			padding: 15rpx 0rpx;
			color: #999999;
		}
		.contentline{
			width: 100%;
			display: flex;
			padding: 5rpx 0rpx;
			// align-items: center;
			justify-content: space-between;
			.left{
				width: 230rpx;
				height: 230rpx;
				margin-right: 20rpx;
				image{
					width: 100%;
					height: 100%;
					border-radius: 15rpx;
				}
			}
			.right{
				flex: 1;
				.tipfirst{
					width: 100%;
					padding: 8rpx 0rpx;
					font-size: 26rpx;
				}
				.tipsecond{
					width: 100%;
					display: flex;
					align-items: center;
					justify-content: space-between;
					padding: 8rpx 0rpx;
					view{
						font-size: 26rpx;
					}
				}
				.tipcontent{
					overflow: hidden;
					text-overflow: ellipsis; 
					display: -webkit-box;
					-webkit-line-clamp: 3;
					font-size: 26rpx;
					-webkit-box-orient: vertical;
				}
				.btns{
					width: 100%;
					padding: 20rpx 0rpx;
					display: flex;
					align-items: center;
					justify-content: flex-end;
					view{
						padding: 15rpx 35rpx;
						border-radius: 15rpx;
						background: #007AFF;
						color: white;
						font-size: 26rpx;
					}
				}
			}
		}
	}
</style>
